package com.lagou.edu.listener;

import com.lagou.edu.factory.BeanFactory;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;

public class InitListener implements ServletContextListener {

    @Override
    public void contextDestroyed(ServletContextEvent arg0) {

    }

    @Override
    public void contextInitialized(ServletContextEvent arg0) {
//        System.out.println("================>[ServletContextListener]自动加载启动开始.");
//        BeanFactory.init();
    }


}
